package com.leyou.item.api;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * 项目: leyou
 *
 * @author 岩冰
 * @version 2018/10/11 8:52
 */
@RequestMapping("category")
public interface CategoryApi {
    /**
     * 根据分类的id插叙三级分类对应的名称
     *
     * @param ids
     * @return
     */
    @GetMapping("names")
    List<String> queryNamesByIds(@RequestParam("ids") List<Long> ids);

}
